package model;

/**
 * 老板实体类
 */
public class Boss {
    private String bossId;        // 老板编号
    private String name;          // 姓名
    private double netProfit;     // 净利润
    private int memberCount;      // 会员数量
    private String phone;         // 电话
    private String password;      // 密码
    
    // 构造方法
    public Boss() {}
    
    public Boss(String bossId, String name, double netProfit, int memberCount, String phone, String password) {
        this.bossId = bossId;
        this.name = name;
        this.netProfit = netProfit;
        this.memberCount = memberCount;
        this.phone = phone;
        this.password = password;
    }
    
    // getter和setter方法
    public String getBossId() {
        return bossId;
    }
    
    public void setBossId(String bossId) {
        this.bossId = bossId;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public double getNetProfit() {
        return netProfit;
    }
    
    public void setNetProfit(double netProfit) {
        this.netProfit = netProfit;
    }
    
    public int getMemberCount() {
        return memberCount;
    }
    
    public void setMemberCount(int memberCount) {
        this.memberCount = memberCount;
    }
    
    public String getPhone() {
        return phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
}
    